package com.fuyun.client;

import com.fuyun.api.User;
import com.fuyun.api.UserService;
import com.fuyun.client.utils.ProxyUtils;

/**
 * @Author fuyun。
 * @Date 2025/8/21 15:40。
 * @Description: 客户端代码。
 **/

public class Main {
    public static void main(String[] args) {
        for (int i = 0; i < 100; i++) {
            UserService userService = ProxyUtils.getProxy(UserService.class);
            User user = userService.getUser(123L);
            System.out.println(user);
        }
    }



}
